package cn.iocoder.yudao.module.biz.convert.emergencyMaterials;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.biz.controller.admin.emergencyMaterials.vo.*;
import cn.iocoder.yudao.module.biz.dal.dataobject.emergencyMaterials.BizEmergencyMaterialsDO;

/**
 * 应急物资 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface BizEmergencyMaterialsConvert {

    BizEmergencyMaterialsConvert INSTANCE = Mappers.getMapper(BizEmergencyMaterialsConvert.class);

    BizEmergencyMaterialsDO convert(BizEmergencyMaterialsCreateReqVO bean);

    BizEmergencyMaterialsDO convert(BizEmergencyMaterialsUpdateReqVO bean);

    BizEmergencyMaterialsRespVO convert(BizEmergencyMaterialsDO bean);

    List<BizEmergencyMaterialsRespVO> convertList(List<BizEmergencyMaterialsDO> list);

    PageResult<BizEmergencyMaterialsRespVO> convertPage(PageResult<BizEmergencyMaterialsDO> page);

    List<BizEmergencyMaterialsExcelVO> convertList02(List<BizEmergencyMaterialsDO> list);

}
